<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
  <META NAME="Googlebot" CONTENT="nofollow">
  <title>OER Recommender - Search Results Example</title>
  <link href="/stylesheets/default.css?1203966366" media="screen" rel="stylesheet" type="text/css" />

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>

<script type="text/javascript">
_uacct = "UA-73651-4";
urchinTracker();

</script>

	<style type="text/css">
		.oer_recommender_container {font-family:Arial;font-size:98%}
		.oer_recommender_title {font-weight:bold;}
		.oer_recommender_list {}
		.oer_recommender_item {}
		.oer_recommender_more_link {}
	</style>
</head>

<body>
<h1>OER Recommender - Example Search Results</h1>
<p><a href="/">Return to home page</a></p>

<p>The results (for the search for "gm") are generated by inserting the following html snippet in the page:</p>
<pre>
&lt;script type="text/javascript" src="http://www.oerrecommender.org/search/results.pjs?terms=gm"&gt;&lt;/script&gt;
</pre>

<hr>
<h2>Example Search Results</h2>

<script type="text/javascript" src="/search/results.pjs?terms=gm"></script>

<p><b><a href="/search/results.pjs?terms=power">See the Javascript</a></b></p>

<hr>
<h2>Supported Request Parameters</h2>
<p>You can limit the number of results and provide additional results using the limit and offset <a href="integration.html#4">standard parameters</a>. Addition you can specify the search language using the locale parameter.</p>

<dl>
	<dt><b>locale</b></dt>  

	<dd>Two character code specifying the language to search in. 
	Supported languages are: English (en), Spanish (es), French (fr), Dutch (nl), German (de), Russion (ru), Japanese (ja), and Chinese (zh).
	</dd>
</dl>

<hr>
<h2>Narrowing Search Results to a Collection</h2>

<p>Optionally you narrow a search by specifying the ids of collections to include or exclude. For example:</p>

<pre>
&lt;script type="text/javascript" src="http://www.oerrecommender.org/search/results.pjs?terms=gm+AND+!feed_id:(31+41+85)"&gt;&lt;/script&gt;
</pre>

<p>Excludes the collection with the ids 31, 41, or 85 (OpenLearn) from the search. See the <a href="/collections">Indexed Collections</a> page to find the ids of the collections.</p>

<script type="text/javascript" src="/search/results.pjs?terms=gm+AND+!feed_id:(31+41+85)"></script>

<p><b><a href="/search/results.pjs?terms=power+AND+!feed_id:(31+41+85)">See the Javascript</a></b></p>

<hr>
<h2>Styling Search Results</h2>
<p>Use the following styles to style the list:</p>
<pre>
.oer_recommender_container {}
.oer_recommender_list {}
.oer_recommender_hit_link {}
.oer_recommender_item {}
.oer_recommender_item_description {}
</pre> 

	</body>
</html>